Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
No ejecuta "npm run build" en Next Js

Tengo un problema con la build . En primer lugar, soy nuevo en Next Js . Cuando entro en npm run build , aparece este error

 > Build error occurred Error: Export encountered errors on following paths: / /blog /ourWorks /services

Busqué en Google este problema y encontré fallback: false y probé en mi código, pero no funcionó. Creo que la razón es por getStaticProps

Uno de mis componentes (ruta /services ):

servicios/index.js

 export async function getStaticProps() { const res = await fetch("http://localhost:3000/api/servicesApi/"); const posts = await res.json(); return { props: { posts, }, }; }

mi paquete.json

 "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" },
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!